﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LiMinCRMPlugin.InterfaceDocking
{
    /// <summary>
    /// 返回json
    /// </summary>
    public class ReturnJson
    {
        public Result Result { get; set; }
    }

    public class Result
    {
        public ResponseStatus ResponseStatus { get; set; }
        public string Id { get; set; }
        public string Number { get; set; }
        public List<NeedReturnData> NeedReturnData { get; set; }
    }
    public class ResponseStatus
    {
        public int ErrorCode { get; set; }
        public bool IsSuccess { get; set; }
        public List<Errors> Errors { get; set; }
        public List<SuccessEntitys> SuccessEntitys { get; set; }
        public List<SuccessMessages> SuccessMessages { get; set; }
        public int MsgCode { get; set; }
    }
    public class Errors
    {
        public string FieldName { get; set; }
        public string Message { get; set; }
        public int DIndex { get; set; }

    }
    public class NeedReturnData
    {
        public string FID { get; set; }
        public List<FEntityDetail> FEntityDetail { get; set; }

        public decimal AvailableQty { get; set; }

    }
    public class FEntityDetail
    {
        public string FentryID { get; set; }
    }

    public class SuccessEntitys
    {

    }

    public class SuccessMessages
    {

    }
}
